FROM registry.k8s.cloud/cloud-monitor/newsbase:1.0.0

COPY . /src

WORKDIR /src

RUN npm install && \
    npm run clean && \
    npm run build

ENTRYPOINT nginx -g "daemon off;"
